#include "../include/FileBcstDataProvider.h"
#include "../include/FileDataSource.h"
#include "../include/WindowsTickSource.h"
FileBcstDataProvider::FileBcstDataProvider(std::string rootPath)
{
	m_strRootPath=rootPath;
}

FileBcstDataProvider::~FileBcstDataProvider(void)
{
}

DataSource* FileBcstDataProvider::CreateDataSource(string csAreaCode ,int type)
{
	return new FileDataSource(m_strRootPath);
}
TickSource* FileBcstDataProvider::CreateTickSource()
{
	return new WindowsTickSource();
}